package com.mew.chess.core.game.pokdeng.game.message;

import com.mew.chess.core.game.pokdeng.game.common.PokDengConstantValue;
import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;

/**
 * @author dylin
 * @create 2021/5/7
 */
@Data
@ToString
public class PushAskCardMessage extends ZebraBaseMessage<PushAskCardMessage> {
    private final int remainTime = PokDengConstantValue.ASK_CARD_TIME;

    private int seatNo;//座位号
    @Override
    public void write(ByteBuf b) {

        writeInt(b,remainTime);
        writeInt(b,seatNo);
    }

    @Override
    public PushAskCardMessage read(ByteBuf b) {
        return null;
    }
}
